//
//  timer_interrupt.c
//  remote_controller
//
//  Created by fukai on 2018/11.
//  Copyright © 2018年 赛博智能车实验室. All rights reserved.
//

#include "tick_timer.h"
#include "key.h"
#include "oled.h"
#include "led.h"
#include "relay.h"
#include "timer_interrupt.h"
#include "remote_os.h"


//硬件初始化
void BoardInit(void)
{
	DelayInit();
	KeyInit();
	OledInit();
	LedInit();
	RelayInit();
	Tim2IntInit(10-1,7199);	//3ms一次中断  72000000/7200=10kHZ  
}


int main()
{
	BoardInit();

	while(1)
	{
		RemoteOs();
	}
}











